package com.aaa.service.impl;

import com.aaa.dao.GrowthRateMapper;
import com.aaa.pojo.GrowthRate;
import com.aaa.service.GrowthRate_Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GrowthRate_ServiceImpl implements GrowthRate_Service {
    @Autowired
    private GrowthRateMapper mapper;

    @Override
    public GrowthRate selectById(Integer g_id) {
        return mapper.selectById(g_id);
    }

    @Override
    public boolean insertGrowthRate(GrowthRate growthRate) {
        return mapper.insertGrowthRate(growthRate);
    }
}
